<template>
  <div>
    <el-button
      class="button button--primary button--blue"
      @click="$emit('submit')" :loading="loading"
    >保存</el-button>
    <el-button class="button button--grey" @click="$emit('cancel')">取消</el-button>
  </div>
</template>

<script>
export default {
  name: 'field-upload-buttons',
  props: {
    loading: Boolean,
  },
};
</script>

<style></style>
